﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace DAL
{
    public class SellerBusinessNature
    {
        public static void Save(int adminId,int companyId,string businessNatures)
        {
            DbHelper.ExecuteNonQuery("[dbo].[p_sellerBusinessNature_Save]", adminId, companyId, businessNatures);
        }

        public static DataTable GetBusinessNaturesByCompanyId(int companyId)
        {
            return DbHelper.ExecuteDataTable("[dbo].[p_sellerBusinessNature_ListWithCompany]", companyId);
        }
    }
}
